/**
 * "Visual Paradigm: DO NOT MODIFY THIS FILE!"
 * 
 * This is an automatic generated file. It will be regenerated every time 
 * you generate persistence class.
 * 
 * Modifying its content may cause the program not work, or your work may lost.
 */

/**
 * Licensee: DuKe TeAm
 * License Type: Purchased
 */
package friverosy.pds.serviciosoap.orm.dao;

import org.orm.*;

import friverosy.pds.serviciosoap.orm.*;

public interface SalaDAO {
	public Sala loadSalaByORMID(int idSala) throws PersistentException;
	public Sala getSalaByORMID(int idSala) throws PersistentException;
	public Sala loadSalaByORMID(int idSala, org.hibernate.LockMode lockMode) throws PersistentException;
	public Sala getSalaByORMID(int idSala, org.hibernate.LockMode lockMode) throws PersistentException;
	public Sala loadSalaByORMID(PersistentSession session, int idSala) throws PersistentException;
	public Sala getSalaByORMID(PersistentSession session, int idSala) throws PersistentException;
	public Sala loadSalaByORMID(PersistentSession session, int idSala, org.hibernate.LockMode lockMode) throws PersistentException;
	public Sala getSalaByORMID(PersistentSession session, int idSala, org.hibernate.LockMode lockMode) throws PersistentException;
	public Sala[] listSalaByQuery(String condition, String orderBy) throws PersistentException;
	public Sala[] listSalaByQuery(String condition, String orderBy, org.hibernate.LockMode lockMode) throws PersistentException;
	public Sala[] listSalaByQuery(PersistentSession session, String condition, String orderBy) throws PersistentException;
	public Sala[] listSalaByQuery(PersistentSession session, String condition, String orderBy, org.hibernate.LockMode lockMode) throws PersistentException;
	public Sala loadSalaByQuery(String condition, String orderBy) throws PersistentException;
	public Sala loadSalaByQuery(String condition, String orderBy, org.hibernate.LockMode lockMode) throws PersistentException;
	public Sala loadSalaByQuery(PersistentSession session, String condition, String orderBy) throws PersistentException;
	public Sala loadSalaByQuery(PersistentSession session, String condition, String orderBy, org.hibernate.LockMode lockMode) throws PersistentException;
	public Sala createSala();
	public boolean save(friverosy.pds.serviciosoap.orm.Sala sala) throws PersistentException;
	public boolean delete(friverosy.pds.serviciosoap.orm.Sala sala) throws PersistentException;
	public boolean deleteAndDissociate(friverosy.pds.serviciosoap.orm.Sala sala) throws PersistentException;
	public boolean deleteAndDissociate(friverosy.pds.serviciosoap.orm.Sala sala, org.orm.PersistentSession session) throws PersistentException;
	public boolean refresh(friverosy.pds.serviciosoap.orm.Sala sala) throws PersistentException;
	public boolean evict(friverosy.pds.serviciosoap.orm.Sala sala) throws PersistentException;
	public Sala loadSalaByCriteria(SalaCriteria salaCriteria);
	public Sala[] listSalaByCriteria(SalaCriteria salaCriteria);
}
